//
//  SingerModel.swift
//  ShareMusic
//
//  Created by 胡岩 on 16/5/3.
//  Copyright © 2016年 胡岩. All rights reserved.
//

import UIKit

class SingerModel: NSObject {
    var singerid:NSNumber?
    var type:NSNumber?
    var style:NSNumber?
    var title:String?
    var pic_url:String?
    var details:String?
    init(dic:AnyObject) {
        super.init()
        self.setValuesForKeysWithDictionary(dic as! [String : AnyObject])
    }
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        if key == "id" {
            singerid = value as? NSNumber
        } else {
            
        }
    }
    
}
